package cn.iocoder.yudao.module.system.controller.admin.studentdashboard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 学生排名查询 Request VO")
@Data
public class StudentRankingReqVO {

    @Schema(description = "学生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1001")
    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @Schema(description = "考试ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "考试ID不能为空")
    private Long examId;

    @Schema(description = "排名类型", example = "CLASS")
    private String rankType = "ALL"; // ALL, CLASS, GRADE, SUBJECT

    @Schema(description = "科目名称（当rankType为SUBJECT时必填）", example = "数学")
    private String subjectName;

}
